﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ASale_RePairList.aspx.cs" Inherits="ArtLand.OA.Project.AfterSale.ASale_RePairList" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="../css/main.css" rel="stylesheet" type="text/css" />
    <script src="../js/WebCommon.js"></script>
</head>
<body>
    <form id="form1" runat="server">
        <ext:PageManager ID="PageManager1" runat="server" AutoSizePanelID="Grid1" />
        <ext:Grid ID="Grid1" Title="维修记录管理" ShowBorder="false" runat="server" EnableCheckBoxSelect="false" DataKeyNames="ID"
            OnRowDataBound="Grid1_RowDataBound" OnRowCommand="Grid1_RowCommand" EnableRowNumber="True" EnableColumnLines="true"  AllowPaging="true" IsDatabasePaging="true" PageSize="10" OnPageIndexChange="Grid1_PageIndexChange">
            <Toolbars>
                <ext:Toolbar ID="Toolbar1" runat="server">
                    <Items>
                        <ext:Button ID="btnNew" Text="添加维修记录" Icon="Add" EnablePostBack="false" runat="server">
                        </ext:Button>
                    </Items>
                </ext:Toolbar>
            </Toolbars>
            <Columns>
                <ext:BoundField Width="110px" DataField="REPRID" DataFormatString="{0}" HeaderText="维修编号" />
                <ext:BoundField Width="80px" DataField="CUTNAM" DataFormatString="{0}" HeaderText="客户名称" TextAlign="Center" />
                <ext:BoundField Width="150px" DataField="ADDRES" DataFormatString="{0}" HeaderText="地址" />
                <ext:BoundField Width="80px" DataField="CONTAT" DataFormatString="{0}" HeaderText="联系人" TextAlign="Center" />
                <ext:BoundField Width="100px" DataField="CUTTEL" DataFormatString="{0}" HeaderText="电话" />
                <ext:BoundField Width="130px" DataField="PRJECT" DataFormatString="{0}" HeaderText="维修项目" />
                <ext:BoundField Width="70px" DataField="ENGSIG" DataFormatString="{0}" HeaderText="维修员" TextAlign="Center" />
                <ext:WindowField ColumnID="myWindowField" Width="60px" WindowID="Window1" Text="" Icon="ScriptEdit" DataTextFormatString="{0}" DataIFrameUrlFields="ID"
                DataIFrameUrlFormatString="ASale_RePairChange.aspx?id={0}" DataWindowTitleField="CUTNAM"
                DataWindowTitleFormatString="修改{0}的维修记录" HeaderText="修改" TextAlign="Center" />
                <ext:LinkButtonField ConfirmText="你确定要这么做么？" HeaderText="删除" ConfirmTarget="Top" Icon="ScriptDelete" ColumnID="ID"
                    Width="50px" CommandName="Del" Text="" TextAlign="Center" />
                 <ext:BoundField Width="60px" DataField="ID" DataFormatString="{0}" HeaderText="打印" TextAlign="Center" />
            </Columns>
        </ext:Grid>
        <ext:Window ID="Window1" Title="编辑" Popup="false" EnableIFrame="true" runat="server"
            CloseAction="HidePostBack" EnableConfirmOnClose="true" IFrameUrl="about:blank" Target="Top" IsModal="True" Width="700px" Height="480px">
        </ext:Window>
        <ext:Window ID="Window2" Title="编辑" Popup="false" EnableIFrame="true" runat="server"
            CloseAction="HidePostBack" EnableConfirmOnClose="true" IFrameUrl="about:blank" Target="Top" IsModal="True" Width="550px" Height="550px">
        </ext:Window>
    </form>
    <script src="../js/extgridbug.js"></script>
</body>
</html>
